Add CURL, BSON and protobuf-c project to the build

Change-Id: I18551e4cdf97039b927b14968e0cfd02740a2c3a