OpenCV compilation cleanup