Define VERSION using git

Replace hardcoded inaccurate version string by
`git describe --abbrev=4 --tags --always --dirty`.

Fallback to use string constant if git is not available.