Fixed compile errors
Merge pull request #323 from uhaciogullari/winrt-fix

WinRT build fix
Merge remote-tracking branch 'upstream/master'