add -Werror to CFLAGS and fix includes