Convert from rebar to erlang.mk