Fixed curl build script failing to build for iOS simulator.