generate protobuf.h header file for c++ automatically