Fix build for iOS simulator.