OpenCV configuration method in VS2010