[rt] Typo fix.
[rt] Move trace.o and debug-print.o to all runtimes.
[rt] Fix more warnings when building with -W.