Check if packages curl and wget are defined