Use gcc99 mode

If using GCC, use the gnu99 instead of the c99 originally set. There
were issues including some functions and structures in pure C99 mode.
Eg: struct addrinfo
Updates to new Check API