Formalize mingw linking line in CMake file