Add -ldl library.