Consider changes in directory listing in unit test
Link with -lrt if clock_gettime() isn't in libc