fix Windows build

Change-Id: I7c7a7bc08e9a7af823a524079caa8d02f1a8d611
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>