On Linux we need to link against libdl.