fix error when can't find x11 lib