Cherry pick from be40. Separating the build of DataProvider from the rest of the classes, since only this class uses OpenImageIO.