Use the patch to the CMakeList.txt provided by Dan Melanz, to fix problems with Irrlicht detection.