Set preferred version of Erlang.
You need to select at least R15 for cowboy and ranch to compile.