We set CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS in KWSys's CMakeLists.txt file to enable simpler endif() syntax for CMake 2.4.