dynamically find libdl