Zookeeper: Yosemite fixes

Closes #32900.
Will fix :+1: