update erlang.mk
handle corrupt tokens without causing exceptions