Compatibility between curl and wget at variable CURL