OpenCV include and link settings refactoring