Added a configure check for Xext.h