fix compile in ubuntu14.04