Fix iconv detection