removing (most) dependency on isd_emxl