fix bug about  judge os and link to opencv244 libs