Allow overriding auto-detection of shared_ptr<> implementation.