Adding "env" before setting environmental variables makes it cross-platform (i.e. work on Windows in addition to Unix / Mac). Tested Windows 10 x64