Windows build: Fix collect_symbols not using script cwd for relative target paths.