- fix GetVersionEx deprecated warnings, change OS version detection to use versionhelpers
- fix wrong "dirty" mark with version script when generating stringdefs.cpp