Changed the way the system checks if OS is Windows 8 or not.