Use cindent in place of smartindent

Apparently smartindent is deprecated.