core: move script git-version.sh into scripts directory
core: add script build.sh in tarball built by autotools