OS X build err support

mac os's sed is don't work change gnu sed