The #if defined GNU_LIBRARY || defined GLIBC at line 17 in main.c doesn't seem to trigger on cygwin, so those wrappers don't get included.
Once commented out, the code compiled file and runs on Windows command line, but that's not portable. Interested in a better solution.