enable openDMD ld libraries in dynamic, inspired by suricata