Updated build.py to latest version