Changed CMake for CImg to remove requirement of CMake 3+. Thanks to Alex Stewart for the help!

Change-Id: I72a5e1942b3db76a5d18d2aaa80848cc87dcea90