Fixed Makefile and bug in shell.c