Fix for OpenCV compilation for MacOS 10.8.*