Handle new t1501 test case properly with MinGW