improvements on makefile and rebar.config using rsync