fail gracefully (with warning to user) if curl is not installed.