Menu context destroy needs to be grouped in HAVE_MENU ifdef