Make use of fast enumeration

Now that we require GCC >= 4.6 anyway, there's no more reason to not use
it anymore.