Fixed enum syntax error for gcc