fixed version checking for emacs 24.4