add missing include
cast of boost::shared_ptr<> to bool must be explicit