Fix warning when compile in linux