Use a package in Ubuntu that provides curl.h.