[Olena-patches] 1408: Improve support for the FreeImagePlus library.