add protobuffer configurable dir, not only src now