gcc: switch to O3 optimization