Added <memory> include to fix compile error on vs2012

SharedPtr was undefined
Merge pull request #1 from RobertLockyer/master

Added <memory> include to fix compile error on vs2012