Place iconv earlier and fix its dependencies.