More accurate guards for WinRT features in CMake.