More robust install.sh: do runnability test in fresh subdirectory.

Fix #15558.
auto merge of #15580 : pnkfelix/rust/fsk-fix-15558, r=alexcrichton

Fix #15558.