Opencv on mac using c++