Fix a conditional for Windows.

The previous version would erroneously use _NSGetEnviron() on Windows,
which is incorrect.