ruby: force getaddrinfo detection in cross builds to build the socket extension.