fixed problems with installing from an sdist