build.py py3 changes