Fix issue with xquartz