constness fix for D 2.066
Merge pull request #5 from Munrek/master

constness fix for D 2.066