Fix proxy issue with Windows build.