marsystems: add missing #include <functional>