Make TestWebKitAPI work for iOS