Replacing the Boost smart points with std::shared_ptr.  Unfortunately, the latter is only supported in the C++11 standard, so -std=c++0x was added to the compiler flags for those compilers that accept it.