Added <memory> include to fix compile error on vs2012

SharedPtr was undefined