Produce correct version string even when not run in a Subversion working copy.