support for OpenCV built without opencv-gpu module