Add patch to execute-extended-command for old versions of emacs and smex.