Added -lrt to LIBS to compile on Linux.