added check for WINRT
added check for WINRT
added check for WINRT
added check for WINRT
removed _WINDOWS define for WINRT