Discover OpenCV in CMakeLists.txT
Modify faulty check that was killing program

Thanks to @Gabriel for the tip on
thinkrpi.wordpress.com/2013/05/22/opencvpi-cam-step-5-basic-use-display-a-picture