update Makefile and remove rebar