Workaround for compile in el6