A port of opencv-visclass to work on OSX with updated libraries