Fixed compilation failure when zlib is not available