fix some compilation issues without oiio