conditionally adding mac osx specific menu entries