mingw compile fix

Change-Id: I2d67db72e76a25f5af7ae4e0d23efe6f08bfe68e
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>