winpr: windows build fixes