Fix up freeimage and freeimageplus finders.
Finish moving to CMake build system.