fix tkMessageBox issue on win7 OS