Hi bigubau I used a much more mundane method.
Denoting \frac{2 \pi}{5} = \theta we have,
Re\{(\cos \theta + i \sin \theta)^5\} = 1
Im\{(\cos \theta + i \sin \theta)^5\} = 0
Expanding the second of these two equations and denoting x = \cos \theta (and using \sin^2 \theta = 1 - x^2 where appropriate) gives,
i \sin \theta \, \left[ 5x^4 - 10 x^2 (1-x^2) + (1-x^2)^2 \right] = 0
which reduces to a quadratic in x^2.
16x^4 - 12 x^2 + 1 = 0
Solving gives,
x^2 = \frac{6 \pm 2 \sqrt{5}} {16} = \frac{(\sqrt{5} \pm 1)^2}{4^2}
x = \frac{\sqrt{5} - 1}{4}
BTW. Something a bit weak here, I selected the plus or minus by comparing the floating point approx of the surd with that of the cosine. I couldn't think of a better way but if someone else can then please let me know. :)