add pthread libdl args to GCC.
Merge https://github.com/sharljimhtsin/dss