iconv: add conditional compile link options