Upgrade erlang.mk