fix dmd-1.x build

- missing change from backend merge #3012
Merge pull request #3048 from MartinNowak/fixDMDv1

fix dmd-1.x build