Fixes for lua-zlib