Make setup.py work with Python3, fixed #260