fix core version

`legit --version` returns the wrong version because of this