fix(frontends/lean): add hack for flycheck

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>