fix #21874: remove File->Quit menu on Mac OSX