Remove Python dialogs when compiling without Python

cherry-picked from https://github.com/plexinc/plex-home-theater-public/commit/f76df3e72