Fix for MacOSX, -lrt is not required and causes problems