Make it compile for iOS