fixing cmake test build default config.
fixing for recent msys2 mingw gcc build with codeblocks.