fixes #53 (bad linkage with OpenCV)