add missing optimization $(DEFS) to FLAGS