fix cflags for older compilers