Use curl by default on rpm systems

Backport to 2.6