change to libiconv from win-iconv and small fixes.