statically link protobuf library. doesn't work otherwise