make compatible with erlang.mk