make backwards compatible with Boost 1.42