only load OpenCV dependencies when building it