fix handling of iconv configuration options