Made the (re-)building of the proto.h file automatic in the