added runtime check for jailbreak to determine is dynamic core should be enabled