Fixed some opencv dependencies.