windeployqt: Fix build with MinGW.

Change-Id: I7fb23ef9c755c7617889635b13b8abc1741f52a3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>