fix setting of $REBAR in Makefile