Added dependency on libdl to work with latest libHDF