Fix --local-rust-root option on Windows

Fixes #8756.