build rebar using the Makefile