only patch zlib on os x