Use erlang.mk to provide make targets

Included version is from commit 90cba7b8 of
https://github.com/extend/erlang.mk.