It seems like `-ldl` may need to be at the end of args.

At least with some versions of Gcc.
Merge pull request #767 from danfuzz/ldl-again

It seems like `-ldl` may need to be at the end of args.