(zlib) Some build fixes for Apple