Added Windows 8.1 detection