g++4.4 compatibility

it has no for (auto x : container) :(