Rory McIlroy says he'll have to 'keep plugging away' as his wait for a fifth major continues after surrendering his lead on the final day of The Open.