--- dimbuilder/CMakeLists.txt.orig	2017-01-06 20:52:21 UTC
+++ dimbuilder/CMakeLists.txt
@@ -30,5 +30,5 @@ if (PDAL_HAVE_JSONCPP)
     target_link_libraries(dimbuilder PRIVATE ${PDAL_JSONCPP_LIB_NAME})
 endif()
 if (UNIX AND NOT APPLE)
-    target_link_libraries(dimbuilder PRIVATE dl)
+    target_link_libraries(dimbuilder PRIVATE ${CMAKE_DL_LIBS} execinfo)
 endif()
