Use erlang.mk

See https://github.com/extend/erlang.mk.