fix for missing #include <memory> for gcc 4.8.1
Merge pull request #213 from mkrivos/small_fixes

fix for missing #include <memory> for gcc 4.8.1