turn off static linking, add -ldl flag Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>