Added support for erlang.mk