Added -lrt conditionally to makefile for linux