Bug 722080 - Use -ldl is not portable

(missed a part of the patch)