Added libz for OSX