Use a BOOST_FOREACH and remove an old #include.