Whitespace
Link library with -ldl, not binaries

The library is the one doing the dlopen
-rdynamic is not needed for these binaries
Link all files with -pthread