Used Uncrustify and fixed Travis build errors.