from mongo-c-driver-legacy.cmake build. c++ wrap.