[whitespace] Replace tabs in all CMake files.
Remove deprecated SelectType.

Use conditional instead.