sched: compilation fix with gcc 3.4.6