zlib ffi bindings from lua-files

Modified to use 'ffilib' lookup