Replace curl by wget.