[fix] Be more liberal when passing thru environment variables on Windows.