add cmake build support for netc ocgcore mongo