Workaround for openCV builds without support of windows