Check for getaddrinfo presence on a build system.