Fix compile in the debug mode