Added conditional defines for undefined variables in OpenCV 3.0