[windows_port] Fix compilation after rebase