Fix compilation for dmd 2.060
Merge pull request #3 from kntroh/fixCompilation

Fix compilation for dmd 2.060
Fixes for dmd 2.061
Merge pull request #4 from kntroh/for2061

Fixes for dmd 2.061