Fix to compile in release mode.