Fix OSX failures with `rt`.

Fixes #231.