use -g and -O2 CFLAGS