Fix compilation issues without USE_REAL_NODES.