RHEL 5 doesn't have package 'libcurl-devel', should be called 'curl-devel'

re-applied the change