Fix "make distcheck" when cross-compiling to MSW
Fix "make distcheck" when cross-compiling to MSW

Set up LOG_COMPILER and WINEPATH earlier in order to make them work with
"make distcheck" too, not just "make check".

Incidnetnally replace test for non-empty HOST with a more precise test
for MinGW host, as Wine shouldn't be used if we ever cross-compile for
some other platform (e.g. Android or something else).

vslavik/xmlwrapp,vadz/xmlwrapp,vslavik/xmlwrapp,vslavik/xmlwrapp,vadz/xmlwrapp,vadz/xmlwrapp