Resolve Travis build issue with openCV