Fix for environment variables on Windows.