Fix emacs 24 or greater check