Added Windows version detection code based on version of kernel32.dll (Windows itself through GetVersionEx() does not return Windows versions greater than Windows 8.0).
Authored by: pcjohn 2017-06-17
Parent: [r193]
Child: [r195]