Add build config support for X11