Allow build without libmenu-cache.