[os_execd] fix windows warnings