Fix ffmpeg checks under cygwin