Fix build for iOS 7.1 simulator