Fix MinGW-w64 GCC 4.8.2 compilation

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