[PATCH 1/1] Fix build on CYGWIN & MinGW. The macro _GNU_SOURCE isn't defined by default on CYGWIN and MinGW, but it must be added otherwise it won't find the prototypes of several functions.