add a script to compile opencv source code