Fix MinGW CMake toolchain to also work with Debian-based host system.