Improve nd_range definition to have all the examples to compile