fix up makefile and rebar.cofnig