Fix build for iOS