Compile opencv programs