[Python 3] fix syntax error when running setup.py install