Made it compile with latest D compiler.