Adapted config files to support case-sensitive file system in Windows build and mingw cross-platform compilation. See #3101