Move static libraries and freetype to OTHER_LDFLAGS rather than as references in project.