Fixed optional DDS dependency issue.