fix loading the X11 library on mountain lion to avoid install dialog