coin fixes: add dependency, upstream patch, build framework to frameworks

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