Enable flycheck for erlang-mode if EDTS is disabled