fixed compatibility issue with GetVersionEx on Windows 8.1 machines