Backport `make-composed-keymap'.
Note that ergoemacs-mode requires emacs 24.1