Define AI_ADDRCONFIG (needed for OpenBSD and NetBSD)

AI_ADDRCONFIG is not supported by some BSDs (OpenBSD and NetBSD).
It's not a critical flag, so define it to 0 just to fix the compile
error.