Added -lrt for Linux.