Allow using curl to download if wget is not installed.

OS X does not have wget installed by default.  But it has curl.  This allows us to use curl and have the same autoresuming behavior as with wget.

I've tested it on a OS X and a linux machine.