Conditially link -lrt