[Olena-patches] 1363: Add support for the FreeImage library.