Updated the python build script