Fix configure output when python disabled