Add real-time library to linker flags

The flag -lrt is needed for using the function clock_gettime()