Add optional XML linting before builds