Fix version_string.sh for older Git versions