Don't leak memory during the key generation speed test.
Link sptps_speed with -lrt.

This is necessary for clock_gettime() on older versions of libc.