Updated findfreeimage to use pkgconfig.