build.xml: Added conditional exclude depending if protobuf is on the CLASSPATH.