Remove compilation warnings from keymap.c