Update erlang.mk and change dependency to ranch.