using sdl and X11 with xbmc