Modifications for cross compiling

- use wine to run gen-expr-info and arithchk when cross-compiling from linux to windows
- link libgcc and libstdc++ statically into gen-expr-info for mingw builds
- use relative path to bin directory for non-msvc builds