fixed configure compatiblity with libprotobuf-c 0.1X and 1.0.X versions

fixed configure compatiblity with libprotobuf-c 0.1X and 1.0.X versions