error compiling on cygwin, unused file