move the version file generating into extconf.rb

now that the building process is simplified, we can install from the git repo