Added iconv fix for FreeBSD 10 and 11.