Make fetch-thirdparty-deps.ps1 work on more Windows platforms.

Works around a problem some people were having with Invoke-WebRequest not being available on their system because of an old version of PowerShell.