Fixed env var refs in Windows build scripts.