[SF#689]Add workaround for crash in gtk-run with old libmenu-cache.