Fix build.py for windows