fix Issue 6743 - ICE(mars.c) attempting to compile an exe file