Revert "Remove -lrt"

This reverts commit d83b62ee5d89b981f387dde8455e9d6e7d3fabcb.