Mahan builds lead, holds off McIlroy to win WGC-Accenture Match Play