Log Message: Use AWK instead of SED to do the patching, now it works on Solaris. While here put the patching in target do-patch an remove NO_PATCH.