mingw64 port: add configure macro AX_PROG_CC_FOR_BUILD; make Macaulay2/c build using it