add missing -ldl