(Haiku) Check for getaddrinfo in $SOCKETLIB