Add support for iconv, and enhance configmake support.