Fix single-threaded compilation on Linux by adding rt