change static link to protobuf