Fix compile problems with dmd 2.061