fix zookeeper C library support