External tools: Correctly set the working directory
The old implementation does not seem to work under Windows.
CCBUG: 416320