Compilation fix for D
Merge pull request #19 from yazd/patch-1

Compilation fix for D