setup: fix problems with installing from dist