Added debug for extra element in mapinfo.
Bloody Riscos doesn't have strdup.