scan-dependencies and module_combine fixes for cygwin