Minor rebar fixes. Generic Makefile added.