Compatible with VS

Added #include <memory> statement for shared_ptr