Windows adaptations required for removed C interface