Use -lrt to fix build fails in some environments