Fix building on win32

Change-Id: Idbc3dc6dfba6cb4b0fbe14775f6efabbb3e42c80