move --std=gnu99 to the main cflags