fix erlang installation problem