Fix up CMake git version tagging

Fix git versioning in CMake

Use proper test of git describe

Fix git version finding with tags starting with 0