Fix gcc not having operator ++ on enums