[boost] [range] patch to fix begin() and end()