Update mingw crosscompiler detection for mxe

MXE uses a different compiler names for shared and static builds

For more details see a http://mxe.cc/

Change-Id: I7ececb494a3611a93744110454fe8da75313e4f5
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>