Fix compilation on Windows.

Change-Id: I39e0e268bdcfdae16dd9fb9c4a44261513c9ba60
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>