Make get-version.sh executable.
Fix warnings