Configure smex, a smart M-x enhancement