add missing rebar, get Makefile to use it