Add CURL and BSON to the build

Sync up with CM repos

Change-Id: Iea9622c5c93faf13900ba6ba8271d0218ac5e510