Auto-detect ninja and use it if present