Avoid win32 calls for iOS