switching to protobuf static linking