Fix linking of some uniconv tests on FreeBSD.