fix libresolv detection in FreeBSD