Fix erlang installation