Add zlib and libiconv to PATH when shared build.