add build script for building bson and unit test