and added #if:s to seperate the code out if libdl isn't availble.
Attach a file by drag & drop or click to upload