Update 'erlang.mk'
Use a non-deprecated and more accurate type spec