this branch compiles and works with OpenCV 2.4.9