modify running of arithchk and gen-expr-info

MSVC and MinGW cross-compiling treat relative paths very differently...