Fix build with --coretext on older OS X