When passing a value to the env= option of Popen the rest of the environment is not automatically inherited, so we need to make sure to do that.  This could have potentially caused problems on all kinds of systems, but it was especially problematic in Windows where it meant possibly not using the right c runtime dll.
Merge pull request #675 from iguananaut/issue-675

Windows builds failing due to weird crash