fix cmake options of opencv