Use get_pointer fix in newer Boost if needed.

Clang 3.3 and Boost 1.54 (via Ubuntu 14.04 LTS) doesn't set up these
defines for some reason.  We can detect it via BOOST_NO_CXX11_SMART_PTR.

Fixes #256.