Remove warnings in setup.py and use setuptools instead of distutils

(but since it is not important, use distutils when setuptools is
unavailable)