Revert to -O2 optimization flag