Fix -lrt issues in Makefile