Ignore generated files in CaLib
Fix compilation bug in zlib.h usage