add -lrt to LDFLAGS