Fix check in CMakeColors.