Only enable -Werror in gcc because gcc doesn't let you suppress enum missmatch warnings