some fixes to emacs_keymap.c for use in z/OS environment