check if bib directory exists before cygwin trick