add jpeg and glib and freetype