fixed a bug in build-msi.py