port zlib to use default_env