Fixing kernel exported variables.