Fix troubles when installing from PyPI