Fix wrong c-style detection code.

Need more investigation