fix xbmc;revert linux patches