Fix Makefile error and add latest rebar to handle protobufs correctly