package: fix version replace on Windows