Modifications for cross compiling

Use wine to run gen-expr-info and arithchk, link libgcc and libstdc++ statically into gen-expr-info for mingw builds, and use relative path to bin directory for non-msvc builds.