build: Rebar.config and Makefile problem. Fixes #543