added multiplatform OIB support