check for curl when installing on linux

Fixes a problem installing hub using curl.