Installs and configures curl and libcurl