Corrected issues with compiling without zlib support