Fix in build system when cppunit is not available
Switch boost::scoped_ptr -> std::unique_ptr