fixing make clean bug in Makefile
fixing a couple of warnings in the C