Replace code that doesn't convert to D
Merge pull request #3926 from yebblies/envcoff

[DDMD] Replace code that doesn't convert to D