Correct os directory of Linux_x64
Detect recursive WAITs

Recursive waits cause subtle problems that are hard to trouble shoot.
Throw an error to make it evident.