C: linux build fix for enum type