Scheduler: Fixed external linkage problem previously introduced.