FIX: Line endings in realtime.cpp
FIX: Revive sched-thread-test and remove special case in build.