Add erlang.mk and relx support