fix dmd 2.064 compilation

fix dmd 2.064 compilation