Fix USE_INTERNAL_JPEG