Replaced Makefile for erlang.mk.

Building with `erlang.mk` doesn't work since with the current leptus's `Makefile` ends up writing all deps in its own deps subir.