Fixed CMakeList to work with OpenCV 3.