fixes http://code.opencv.org/issues/3367
return when OpenCV is found
cleaner fix
Merge pull request #1794 from vrabaud:2.4