add -lrt for linux build, fixing building issue