WindowsRT build warning fixes.
Merge pull request #1126 from asmorkalov:winrt