recude the list of opencv libraries needed