Updated CMakeModules with fixed cctype functions usage.