fixes so that erlang.mk compile works

erlang.mk has `-Werror` on by default, so the warnings
were breaking the build, and relx was giving errors for
.app.src.