Fix OSX failures with `rt`.

Fixes [#231](https://github.com/KnightOS/KnightOS/issues/231).