iOSWindows.mm change for iOS 8 compatibility