(maint) Remove old menu build function