[darwin] sed regex update for build script