add the produce of compile mongo cxx to build.sh and add inset test for mongo api