Fixed some wrong declarations for zlib output, very strange that
this worked/wasn't found before. Still testing.