Avoid boost and glog in cpp_interface