fix zlib library name; make sure sources files for all symbols are built