using ifdef for zlib in fakestubs.c