Build fix for some versions of Boost.