fixed object reference not set when shim entry would not have exports defined