Prefer cmake over pkg-config when setting up OpenCV configuration

pkg-config support in OpenCV-2.4 is somewhat broken:
http://code.opencv.org/issues/1925
Merge pull request #5 from plaes/opencv-cmake

Prefer cmake over pkg-config when setting up OpenCV configuration