Fix protobuf detection on systems with Python 3 as default

MESOS-1774

Review: https://reviews.apache.org/r/25439