Add -O3 flags back to gcc compilation.