better protect zlib dep since it may not be available/necessary on windows