Simplify conditional linking with libdl
Merge pull request #83 from AMDmi3/patch-1

Simplify conditional linking with libdl