Fix version number generation from tarballs on openbsd

Thanks to fred for reporting this