Added appropriate compile flags to force GNU C99 (-std=c99 doesn't work with getaddrinfo)