added cflags patch