use directory version when compiling from a tarball without git