GCC 4.8.2 consumes a lot of memory for BOOST_PP_LOCAL_ITERATE, so we replace everything by BOOST_PP_REPEAT. This works much better.