Fix bootstrap test detect_src_and_out on Windows
#129194
Merged
detect_src_and_out on Windows
#129194