libtcod: fix X11 check removal

Fixes #149.