Remove Python dialogs when compiling without Python