setup.py: fix issue with build triggered by install

(e.g., in travit-ci)

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>