Add missing #include <memory>