remove cflags that aren't safe