fix incorrect version being displayed for linux static builds

This was because "git clone -s" does not work properly in the chroot,
and hence making it impossible to evaluate "git describe --tags".