Test target fixing for mingw crosscompiling.