Added -Werror to CFLAGS, fixed warnings because these break the compile now