Fix linking to zlib on OS X. Hooray I think this is mergeable.