Improve mix compile.elixir task to handle unspecified and incorrect use