Just for the sake of completion, here are the full steps (thanks to David Ullrich):
Define:
$g(\alpha) = F(x'+\alpha(x-x'))$
$y=x'+\alpha(x-x')$
Where $F(\cdot)$ is a scalar and $x$ and $x'$ are vectors (and therefore $y$ is too).
Then: $g'(\alpha) = \frac{\partial F}{\partial y} \frac{\partial y}{\partial \alpha} = (\frac{\partial F}{\partial y_1}(x_1-x'_{1}), \frac{\partial F}{\partial y_2}(x_2-x'_{2}), ..., \frac{\partial F}{\partial y_n}(x_n-x'_{n}) )= \sum_i \frac{\partial F}{\partial y_i}(x_i - x'_{i})$
Notice that the second step follows because we're deriving a scalar by a vector (i.e. $F(\cdot)$ by $y$).
Now integrate over $\alpha$:
$\int_{\alpha =0}^{1} g'(\alpha)d\alpha = \int_{\alpha =0}^{1} \sum_i \frac{\partial F}{\partial y_i}(x_i - x'_{i}) = \sum_i \int_{\alpha =0}^{1} \frac{\partial F}{\partial y_i}(x_i - x'_{i}) = \sum_i IG_i$
Notice that:
$\int_{\alpha =0}^{1} g'(\alpha)d\alpha = F(x)-F(x')$
Q.E.D :)