cli: Ensure we link against libdl.

Issue #185.