Added missing cmake link to -ldl