Add -g -Wall and -Wno-unknown-pragmas in C flags.