Add cygwin support while generating file list