[hotfix] Fix compilation error

The includes were wrong. We probably have to include the whole <memory>
Merge pull request #78 from Makman2/master

[hotfix] Fix compilation error