Added -lrt on the compilation