If the library is built with OpenCV the undefined macros cause an error.
mentioned in issue #7 (closed)