Revert "Use O3 compiler optimizations"

This reverts commit ca3e91ac46bf3bf689d574739f28f0cb2f93bd57.