Adds patch for opencv bug: http://code.opencv.org/issues/3191