Updated XQuartz check