Add CURL, protobuf-c and BSON to the build