Add "-rt" to prevent "undefined reference to `clock_gettime'" error.