[boost] Avoiding boost::noncopyable error.