cmake: print compiler version with type