As noted in https://reviews.llvm.org/D80492 that change broke standalone builds of clang. This reverts the old behavior of libdl linking when in standalone mode.
As a note I think it would be safe to just do:
list(APPEND LIBS ${CMAKE_DL_LIBS})
But I opted for the pragmatic fix this time. Let me know if you think we should try that instead.