cpp: compat memory header includes boost/make_shared.hpp