Attempt at corretly passing the env variables on windows.