Of cause you can disable the crash reporter if you get this error when building Firefox/Fennec/what ever you are building. But you can also choose to continue building it by installing the missing files.
On an Ubuntu system you can install the curl development files by doing:
$ sudo apt-get install libcurl4-openssl-dev
This will use OpenSSL for SSL support, if you prefer the GnuTLS, then install libcurl4-gnutls-dev instead.