[Build] Fixed messagingmenu-sharp detection