Fixed erlang dependency issue