Workaround for path-related failures on windows