[PATCH 2/2] build: Add -ldl to LIBS as needed.