Link to libdl on non-BSD POSIX systems.

Needed for: https://github.com/D-Programming-Language/druntime/pull/211