[BUILD] Randomization path fix

Construct correct path under windows