Fix for opencv dependencies.