arrayfire/arrayfire#1861 changed quite a bit of the build system, I will update with issues as I find them. 1. FREEIMAGE_* variables are now called FreeImage