If HAVE_GAI_STRERROR is not defined, a replacement function is built to generate readable error output.