Special handling for genversion on win32, as the default calls don't work in all...