compiles with 2.064

These changes seem to be necessary to compile with the current DMD head