refining Opencv build in travis

Refining OpenCV build in Travis as pointed out in #2431