All std::for_each has gone. uses for(const auto& ...) instead. 

Also it fixes travis-ci broken.