make M-x key binding robust to missing smex