Fix building hhvm-9999 with freetype

See https://github.com/facebook/hhvm/issues/3524