Make git describe work with out-of-tree builds

CMake now uses the "current source dir" as working directory for the git
describe command. This should enable --version to print the build
version even when built out of tree.