Made core compile in CentOS 5.