Fix build script to use default web proxy to download remote files.

Applying fix from corefx to buildtools
https://github.com/dotnet/corefx/commit/423f9ec7e322d8d22da7f006b245f9770732ba5e