Don't find the old declare macro anymore

flycheck-declare-checker is long gone, so we don't need to support it as
checker definition source anymore.
Don't use Emacs from the environment

Breaks compilation from inside Emacs, where $EMACS is stupidly set to t
Replace eval-when-compile with rx eval sexp