Compile against proper zlib

On a fresh install of OS X 10.9, zlib is not in the usual include path.
Compile against Xcode’s zlib, or if the user specifies
“with-brewed-zlib”, compile against Homebrew’s zlib.