detect if curl/wget are available. Close #7