Fix downloads by using the right variable.

Fixes bug #66142 (Impossible to download PHP from website).