Fix zlib compilation and linkage on *nix platforms
Fix a benign (but fair enough) compiler warning