Make T9579 parallel-safe and add build outputs to .gitignore