message: Enable cmake to recognize AppleClang
  If the compiler id is AppleClang, many of the cmake branches that
  check for strequal Clang fails (e.g., static linking no longer
  supported). This changes the build to just check whether the
  string ends in compiler id ends in Clang.
diff: @@ -84,7 +84,7 @@ option(FORCE_COLORED_OUTPUT
  if(${FORCE_COLORED_OUTPUT})
  if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
  add_compile_options(-fdiagnostics-color=always)
  - elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
  + elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang$")
  add_compile_options(-fcolor-diagnostics)
  endif()
  endif()
  @@ -396,7 +396,7 @@ if(NOT MSVC)
  if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION
  VERSION_GREATER 8.0)
  set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${CXX_EXTRA_DEBUG}")
  - elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang"
  + elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang$"
  AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 9.0)
  set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${CXX_EXTRA_DEBUG}")
  else()
  @@ -524,7 +524,7 @@ endfunction()
  function(disable_target_warnings NAME)
  if(MSVC)
  target_compile_options(${NAME} PRIVATE "/W0")
  - elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang"
  + elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang$"
  OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
  target_compile_options(${NAME} PRIVATE "-w")
  endif()
  @@ -763,7 +763,7 @@ function(build_loadable_extension_directory NAME OUTPUT_DIRECTORY PARAMETERS)
  target_link_libraries(${TARGET_NAME} duckdb_static ${DUCKDB_EXTRA_LINK_FLAGS} -Wl,--gc-sections -Wl,--exclude-libs,ALL)
  elseif (WIN32)
  target_link_libraries(${TARGET_NAME} duckdb_static ${DUCKDB_EXTRA_LINK_FLAGS})
  - elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
  + elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang$")
  set_target_properties(${TARGET_NAME} PROPERTIES CXX_VISIBILITY_PRESET hidden)
  # Note that on MacOS we need to use the -exported_symbol whitelist feature due to a lack of -exclude-libs flag in mac's ld variant
  set(WHITELIST "-Wl,-exported_symbol,_${NAME}_init -Wl,-exported_symbol,_${NAME}_version -Wl,-exported_symbol,_${NAME}_replacement_open_*")
  @@ -774,7 +774,7 @@ function(build_loadable_extension_directory NAME OUTPUT_DIRECTORY PARAMETERS)
  else()
  if (WIN32)
  target_link_libraries(${TARGET_NAME} duckdb ${DUCKDB_EXTRA_LINK_FLAGS})
  - elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
  + elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang$")
  set_target_properties(${TARGET_NAME} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
  endif()
  endif()
  