fix 'R: could not find any X11 fonts error' on Mac