Fixed build issue with 2.4.8 version of OpenCV