Possible fix for iterator_range SFINAE bug

Neil, this is one slightly hackish way to get around the SFINAE problem reported today on the Boost users' mailing list.