add support for erlang.mk