cmake - check compiler version, correct code style