make the version check work on windows