Added a conditonal check for linux in Makefile, should not have to add
-lrt manually now