Use http instead of ftp to download.
Use wget instead of curl for MinGW to download, because it lacks of curl.