Fix compilation on windows.

Change-Id: I0738581babd73512501cea7f24cba573d45efbae
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>