making build_for_ppa.py py3 compatible