CMakeLists to detect system name