fixing Makefile and adding limits.h