remove some BOOST_FOREACH to compile on centos clang3.0