fix compilation on older Boost