better version handling on windows