generate protobufs during build