Add binding support for NSMenuItem
Fix Mac build