cantera: use homebrew-specified compiler; fix style issues