Fix gxx-4.7 compilation issue

Switch to a more sane optimization level.