mac os x build script