workaround for ranges_flag with opencv-2.2
fixed exporting cvAddText
merged 0.26rc