Support OpenCV 2.4.6.1