fixed loading of environment variables on windows systems