Enums fixed to compile with gcc