Fixes main menu issue
Build fixes for deprecated X11 variant