Fix qualified enum names (gcc 4.9) doesn't like it because they're not in a namespace. Fair enough.