Add -lrt check

-lrt should not be added to LIBS automatically, rather it should be
added on needed to get our symbol basis. AC_SEARCH_LIBS does this
perfertly.