Adds support for WinRT. Fixes WindowsPhone sln.

NETFX_CORE stands for the #define flag for WinRT.