Updating #517 so that it works on Windows, needed to normalise the paths