DCMTK links need fix on mac only if not built static