Rename some defines, get version from git.