Save some carnage in the builtin terminfo caused by overzealous sed-ing. Need to fix the owned pointers again