Fix cross-platform versioning