Fix windows compilation

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