Use correct path separator on windows
Append .exe to commands for windows