Fixes for Elixir within Cygwin

See #2597.
Can't we use the reverse order on all modes?