OpenCV test program to work on MS Visual Studio 2010