Long carbon chain molecules in circumstellar shells