Fix keymap for Linux and OSX