Fix the Mac build script.