Fixed Windows 8/RT support.