Detect shared library suffix.

Also, ADL