changed flag from -g to O2