Switch from cindent to smartindent

cindent doesn't work well because of the lack of semicolons. Smartindent
should provide acceptable behavior for now.