Autoconf: detect and set CFLAGS/CPPFLAGS needed for C99 mode