Link with librt, to get clock_nanosleep on older systems