Added back #include for shared_ptr for linux to build.

Refs #7284