only use flycheck in emacs 24