Build curl and bson

Change-Id: If4dd639e8214a1832d12d522c2a90daa094241d9