Zookeeper: Yosemite fixes

Closes #32900.
Yes. I presume I'd need to move them back into the ``` --HEAD ``` build without any conditionals, and then do inside the stable block ``` depends_on "cppunit" ``` if MacOS.version == :yosemite ```?