make the GhcThreaded setting lazy, because GhcUnregisterised might not be set yet