coreAPI: fix build for IOS / add nativeMenuBar