More Windows compatibility
Found some more Windows compatibility problems. This time I searched the entire source tree for 'System.getenv'