update rebar to 2.5.1; Makefile use local one