fix compilation on old Boost