Fix import error OpenCV 2.4.*

OpenCV 2.4.* used `import cv2`