provide fallback for old boost with irange