Add curl as dependency.