Fix up CC and CXX handling for mingw cross.