OS X 10.10 compatibility: htonll conflict

Fixed using a patch from https://issues.apache.org/jira/browse/ZOOKEEPER-2049