Do not use gethostbyname_r on NetBSD.