fix for "Smart pointers now use explicit operator bool on C++11 compilers" in boost 1.53.0

fixes #3764