Use curl by default on rpm systems

For issue #1380