Merge pull request #757 from benstraub/development Tests: wrap 'getenv' and friends for Win32 tests.