Fix WinRT compilation