Set Box2d library optimization level to 0 in release build to prevent crashes.