Fix WinRT detection.