accomodate API change in boost.range