Fixes setuptools problem on Python3
Merge pull request #1771 from brousch/master

Fixes setuptools problem on Python3