* removed the checks for X11 and pthread, as they aren't used at the moment.