build gen-expr-info statically for mingw

since it needs to run during build, but otherwise
would depend on libgcc and libstdc++