Enable full optimizations for release.