Specify the C standard when compiling.
Use the POSIX feature macro, and add an include.
Merge pull request #760 from danfuzz/gcc-build

Gcc Build