Pregenerate version.cpp in release tarballs