It says whether there be tongues, they shall cease, not that 'the gift of tongues' will cease. Tongues ceased wherever they were spoken in Paul's day.
Of course, in the context of the epistle, Paul had already written in chapter 1 about utterance and knowledge and 'so that ye come behind in no spiritual gift, waiting for the coming of our Lord Jesus Christ.' After referring to the coming of the perfect in chapter 13, and how the perfect would render his speech, thought, and understanding to be like that of a child compared to what was to come, Paul wrote of the resurrection of the believer and the transformation of the body at the return of Christ in chapter 15. Chapter 13 should be interpreted in context, in line with the flow of argument in the epistle.