fix build on freebsd with iconv (configure.sh)