Fixed example to properly link to libdl