Added checks for X11.app on 10.6