Removed -lrt from mac compilation