AM_CPPFLAGS -> AM_CFLAGS, add '-Wall -Wformat' to AM_CFLAGS