Issue #12: addition of -ldl