added build optimization flag