Revert "Fix detection of Windows Runtime."

This reverts commit f1818afc93d12111560f3b1ebaf863fee99fc316.