Re-activate optimization settings for Python binding.