Re #7452 std::iota not available. Fix build.