fix for missing #include <memory> for gcc 4.8.1