Fix problem with generation of version files.