USE_BOOST instead HAVE_BOOST. By default use builtin shared pointer.