get code to compile with OpenCV3
fixes #96