Fix complete-command on Windows.