Include missing <functional> into devlist.hpp