add using std::shared_ptr so we don't get shared_ptr errors
Check MACOSX_DEPLOYMENT_TARGET for tr1 decision

We need to check the deployment target of OS X, not the
system version of OS X, when setting whether to use the tr1
namespace for memory and shared_ptr.
Merge pull request #30 from synthicity/macosx-fixes

Macosx fixes