Forgot to add -lrt flag for ubuntu