Getting OpenCV to compile