Add CURL and BSON to the build.

* Needed for CNE and other stuff