Change Release configuration optimization level to -Onone (the release build crashes with optimization enabled)