Fix a compilation problem occuring with OpenCV 2.4.6 and Apple LLVM 5.0.