Correct and modernize.
Attempt to properly set PATH before testing on windows (python may still be be missing).
Update MKL detection.