Build script tweak for MacOSX