Add libc names for Debian GNU/kFreeBSD and FreeBSD in tests.