Another try to compile on mingw.

Change-Id: I354564e5dcd6cd0c342f19cf8e2a88a91a8974ab
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>