Fix zlib calls, ncpus static