Add xdisplaycheck for Unix.