try to fix key generation on windows