Get rid of some ifdef macros in menu_common_backend.c and rely
on dynamic lookup