Replace deprecated GetVersionEx calls with version helpers
Only compiles with 8.1 SDK but runs everywhere