[rt] _GNU_SOURCE is defined by the build system.
[rt] Fix dependency info.
[rt] Fix warnings about int sizes.