Enable -O2 optimization