Add fix for IL emitted hosting assembly