add freetype dependency
add upstream patch to fix include error
build framework to frameworks instead of lib