Fixes for dmd 2.065.