[wip] windows build fixes