creating code to compile pyopencv