Add more complex macro checking for -lrt