made text compile on osx (if freetype2 is installed on machine)