Fix to opencv library.