Fixed bug in OS.exec on Windows.