add -O2 and -Wall to CFLAGS