make menu-bar-mode for mac only