Fix an issue where there are spaces in the path on Windows