Add memory header file to source files using unique_ptr
For some reason, this compiles cleanly on Mac OS X, but not on Ubuntu