fix build when protobuf installed by non standard path