Detect if curl or wget is installed