Compile opencv from main