add add -O2, -Wall and -Werror to CFLAGS