modify check_version for Windows