logic added for ExplicitExports=false