Made proto files compile using clean rebar functionality

Turns out rebar has generic protobuffer support.