Rel20 fix compilation error

Fixing Compilation error with old compiler for range based loop.