Use ${CMAKE_DL_LIBS}