Fix to OS X build script.