Add cmake dependency, allow dldir specification